perfect square quadratic equations